home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / fddev202.zip / PASCAL.ARJ / UNDIAL.INC < prev   
Text File  |  1991-10-02  |  2KB  |  41 lines

  1. (*
  2. **  UnDial.Inc (FrontDoor)
  3. **
  4. **  Copyright 1991 Joaquim H. Homrighausen. All rights reserved.
  5. **
  6. **  NODIAL.FD format for FrontDoor 2.00+
  7. **
  8. **  Last revision:  91-10-02
  9. **
  10. **  -------------------------------------------------------------------------
  11. **  This information is not necessarily final and is subject to change at any
  12. **  given time without further notice
  13. **  -------------------------------------------------------------------------
  14. *)
  15.  
  16. CONST
  17.   MAXUNDIAL   = 200;                (* Maximum number of undialable systems *)
  18.   DIALTROUBLE = 1;                                       (* Got one failure *)
  19.   DIALWORSE   = 2;                                      (* Got two failures *)
  20.   DIALNOMORE  = 3;                        (* Got three failures, undialable *)
  21.  
  22. (*
  23. **  When FrontDoor reaches the maximum number of resend retries for a system
  24. **  during an event (session handshake failures, bad sends, etc.) it bumps
  25. **  the 'badness' counter one. Once it reaches three (i.e. FD has reached the
  26. **  resend limit in three separate events), the system is flagged as 'hard'
  27. **  undialable and FD will no longer attempt to call that system.
  28. *)
  29.  
  30. TYPE
  31.   NoDialRec   = RECORD
  32.     Zone,
  33.     Net,
  34.     Node,
  35.     Point     : word;                       (* Address of undialable system *)
  36.     PhoneCrc  : longint;                  (* CRC-32 of raw telephone number *)
  37.     Grade     : word;                       (* How undialable the system is *)
  38.   End;
  39.  
  40. (* end of file "UnDial.Inc" *)
  41.